package com.ttj.domain.oracle.gen;

import java.io.Serializable;

public class SuperWebExchangeRec implements Serializable {
    private Integer exId;

    private String phonenum;

    private Integer recId;

    private Integer recNum;

    private static final long serialVersionUID = 1L;

    public Integer getExId() {
        return exId;
    }

    public void setExId(Integer exId) {
        this.exId = exId;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public Integer getRecId() {
        return recId;
    }

    public void setRecId(Integer recId) {
        this.recId = recId;
    }

    public Integer getRecNum() {
        return recNum;
    }

    public void setRecNum(Integer recNum) {
        this.recNum = recNum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", exId=").append(exId);
        sb.append(", phonenum=").append(phonenum);
        sb.append(", recId=").append(recId);
        sb.append(", recNum=").append(recNum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SuperWebExchangeRec other = (SuperWebExchangeRec) that;
        return (this.getExId() == null ? other.getExId() == null : this.getExId().equals(other.getExId()))
            && (this.getPhonenum() == null ? other.getPhonenum() == null : this.getPhonenum().equals(other.getPhonenum()))
            && (this.getRecId() == null ? other.getRecId() == null : this.getRecId().equals(other.getRecId()))
            && (this.getRecNum() == null ? other.getRecNum() == null : this.getRecNum().equals(other.getRecNum()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getExId() == null) ? 0 : getExId().hashCode());
        result = prime * result + ((getPhonenum() == null) ? 0 : getPhonenum().hashCode());
        result = prime * result + ((getRecId() == null) ? 0 : getRecId().hashCode());
        result = prime * result + ((getRecNum() == null) ? 0 : getRecNum().hashCode());
        return result;
    }
}